package com.lovo.game.imp;

import com.lovo.game.Attack;

/**
 * 盗贼
 */
public class Robber extends Role implements Attack {

    public Robber(){

    }

    public Robber(String name, int level){
        this.setName(name);
        this.setLevel(level);
    }

    @Override
    public void attack() {
        System.out.println(getName() + "攻击");
    }

    /**
     * 偷盗
     */
    public void rob() {
        System.out.println(getName() + "偷盗");
    }
}
